WindowInsetsAnimationCompat

constructor(typeMask: Int, @Nullable interpolator: Interpolator, durationMillis: Long)(source)

Creates a new WindowInsetsAnimationCompat object.

This should only be used for testing, as usually the system creates this object for the application to listen to with WindowInsetsAnimationCompat.Callback.

Parameters

typeMask

The bitmask of WindowInsetsCompat.Types that are animating.

interpolator

The interpolator of the animation.

durationMillis

The duration of the animation in MILLISECONDS.